package com.bawei.module_home.http

import com.bawei.lib_common.base.BaseResponse
import com.bawei.module_home.data.HomeItem
import retrofit2.http.GET
import retrofit2.http.Path

interface HomeApi {
    @GET("/api/properties/region/{regionId}")
    suspend fun getHomeById(
        @Path("regionId") regionId: Int
    ): BaseResponse<List<HomeItem>>
}